import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';

@Entity('personal_info')
export class User {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ type: 'varchar' })
  name: string;

  @Column({ type: 'varchar' })
  sex: string;

  @Column({ type: 'int' })
  age: number;
}
